package com.lei.datastructure.stack;

/**
 * @Author LeiXiaoLei
 * @Date 2022/7/18 19:59
 * @Version 1.0
 */
public interface Stack<E> {

    int getSize();

    boolean isEmpty();

    E pop();

    E peek();

    void push(E e);
}
